//
//  WedModel.m
//  MMLOOK
//
//  Created by dllo on 15/9/28.
//  Copyright © 2015年 武俊娥. All rights reserved.
//

#import "WedModel.h"

@implementation WedModel

-(void)dealloc
{
    [_height release];
    [_width release];
    [_userArr release];
    [_like_count release];
    [_photo_path release];
    [_price release];
    [_nameId release];
    [super dealloc];
}

-(instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        
        
        self.userArr = [NSMutableArray array];
        
        
        [self setValuesForKeysWithDictionary:dic];
        
        
        
    }
    
    return self;
}


-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        
        self.nameId = [value stringValue];
        
    }
    
}


@end
